import xbmc
import xbmcgui

ACTION_PREVIOUS_MENU = 92

class Win(xbmcgui.WindowXML):
	def onAction(self, action):
		if action.getId() == ACTION_PREVIOUS_MENU:
			self.close()
